package com.aha.dataanalyzeandview.entity.stock;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.util.Date;

/******************************
 * Project:           data-analyze-and-view
 * FileName:          StockBaseFinancialDataEntity.java
 * ClassName:         StockBaseFinancialDataEntity
 * Time:              2020/8/20 0:21
 * Version:           1.00
 * Author:            努力就是魅力
 * Description:       股票基本财务数据
 ******************************/


@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class StockBaseFinancialDataEntity implements Serializable {
    /**
     * 代码	600028
     */
    @Excel(name = "代码", orderNum = "0")
    private String stockCode;
    /**
     * 名称	 中国石化
     */
    @Excel(name = "名称", orderNum = "1")
    private String stockName;
    /**
     * 更新日期	 2020/03/31
     */
    @Excel(name = "更新日期", width = 42, exportFormat = "yyyy-MM-dd HH:mm:ss", orderNum = "2")
    private Date updateTime;
    /**
     * 总股本	 1211亿
     */
    @Excel(name = "总股本", orderNum = "3")
    private String stockTotalNums;
    /**
     * 流通A股	 956亿
     */
    @Excel(name = "流通A股", orderNum = "4")
    private String circulateStockNums;
    /**
     * 人均持股数	 17.5万
     */
    @Excel(name = "人均持股数", orderNum = "5")
    private String personStockNums;
    /**
     * 每股收益	-0.16
     */
    @Excel(name = "每股收益", orderNum = "6")
    private Float earningsPerShare;
    /**
     * 每股净资产	5.88
     */
    @Excel(name = "每股净资产", orderNum = "7")
    private Float netAssetValuePerShare;
    /**
     * 加权净资产收益率	-2.73
     */
    @Excel(name = "加权净资产收益率", orderNum = "8")
    private Float weightedReturnOnEquity;
    /**
     * 营业总收入	 5555亿
     */
    @Excel(name = "营业总收入", orderNum = "9")
    private String grossRevenue;
    /**
     * 营业总收入同比	-22.59
     */
    @Excel(name = "营业总收入同比", orderNum = "10")
    private Float totalIncomeY2Y;
    /**
     * 营业利润	 -283亿
     */
    @Excel(name = "营业利润", orderNum = "11")
    private String profit;
    /**
     * 投资收益	 1.53亿
     */
    @Excel(name = "投资收益", orderNum = "12")
    private String incomeFromInvestment;
    /**
     * 利润总额	 -286亿
     */
    @Excel(name = "利润总额", orderNum = "13")
    private String totalProfit;
    /**
     * 归属净利润	 -198亿
     */
    @Excel(name = "归属净利润", orderNum = "14")
    private String netProfitAttributable;
    /**
     * 归属净利润同比	-234
     */
    @Excel(name = "归属净利润同比", orderNum = "15")
    private String netProfitAttributableY2Y;
    /**
     * 未分配利润	 2673亿
     */
    @Excel(name = "未分配利润", orderNum = "16")
    private String undistributedProfit;
    /**
     * 每股未分配利润	2.02
     */
    @Excel(name = "每股未分配利润", orderNum = "17")
    private Float perStockUndistributedProfit;
    /**
     * 销售毛利率	10.12
     */
    @Excel(name = "销售毛利率", orderNum = "18")
    private Float salesMargin;
    /**
     * 总资产	 1.81万亿
     */
    @Excel(name = "总资产", orderNum = "19")
    private String totalAsses;
    /**
     * 流动资产	 4960亿
     */
    @Excel(name = "流动资产", orderNum = "20")
    private String circulateAssets;
    /**
     * 固定资产	 6116亿
     */
    @Excel(name = "固定资产", orderNum = "21")
    private String fixedAssets;
    /**
     * 无形资产	 1080亿
     */
    @Excel(name = "无形资产", orderNum = "22")
    private String intangibleAssets;
    /**
     * 总负债	 9599亿
     */
    @Excel(name = "总负债", orderNum = "23")
    private String grossLiability;
    /**
     * 流动负债	 6393亿
     */
    @Excel(name = "流动负债", orderNum = "24")
    private String currentLiabilities;
    /**
     * 长期负债	 3206亿
     */
    @Excel(name = "长期负债", orderNum = "25")
    private String longTermLiability;
    /**
     * 资产负债比率	53.1
     */
    @Excel(name = "资产负债比率", orderNum = "26")
    private Float balanceSheetRatios;
    /**
     * 股东权益	 7124亿
     */
    @Excel(name = "股东权益", orderNum = "27")
    private String stockholdersEquity;
    /**
     * 股东权益比	39.41
     */
    @Excel(name = "股东权益比", orderNum = "28")
    private Float equityRatio;
    /**
     * 公积金	 1221亿
     */
    @Excel(name = "公积金", orderNum = "29")
    private String accumulationFund;
    /**
     * 每股公积金	1.01
     */
    @Excel(name = "每股公积金", orderNum = "30")
    private Float accumulationFundPerShare;
    /**
     * 流通B股	0
     */
    @Excel(name = "流通B股", orderNum = "31")
    private String circulateBStockNums;
    /**
     * H股	 255亿
     */
//    @Excel(name = "H股", orderNum = "32")
    private String hStockTotalNums;
    /**
     * 上市日期	 2001/08/08
     */
    @Excel(name = "上市日期", width = 42, exportFormat = "yyyy-MM-dd HH:mm:ss", orderNum = "33")
    private Date stockSaleDate;


    //-------------------------------------------------------------------------------------


    /**
     * pe
     */
    @Excel(name = "市盈率", orderNum = "34")
    private Float pe;


    /**
     * pb
     */
    @Excel(name = "市净率", orderNum = "35")
    private Float pb;


    /**
     * 价格
     */
    @Excel(name = "最新", orderNum = "36")
    private Float price;


    /**
     * 所属行业名称
     */
    @Excel(name = "所属行业", orderNum = "37")
    private String industryName;


}
